<?php

namespace app\common\model\video;

use app\common\model\BaseModel;

/**课程模型
 * Class Course
 * @package app\common\model
 */
class CourseCate extends BaseModel
{
    protected $pk = 'id';
    protected $name = 'video_category';
//    protected $createTime = true;
    protected $updateTime = false;


    public function add($params)
    {
        $params['wxapp_id'] = self::$wxapp_id;
        return $this->insert($params) != false;
    }

}